package org.mobai.flow.constant;

/**
 * @author mobai
 */
public class CamundaConstant {
    // 隐藏
    public final static String FIELD_HIDDEN = "hidden";
    // 必填
    public final static String FIELD_REQUIRED = "required";
    // 只读
    public final static String FIELD_READONLY = "readonly";

    /**
     * 操作权限
     */
    // 同意
    public final static String OPERATION_COMPLETE = "complete";
    // 拒绝
    public final static String OPERATION_REFUSE = "refuse";
    // 驳回
    public final static String OPERATION_BACK = "back";
    // 驳回节点
    public final static String OPERATION_BACK_NODE = "backNodeId";
    // 转办
    public final static String OPERATION_TRANSFER = "transfer";
    // 委托
    public final static String OPERATION_DELEGATE = "delegate";
    // 加签
    public final static String OPERATION_ADD_MULTI = "addMulti";
    // 减签
    public final static String OPERATION_MINUS_MULTI = "minusMulti";
    // 无人审批
    public final static String OPERATION_NOBODY = "nobody";
    // 无人审批人
    public static final String OPERATION_NOBODY_USERS = "nobodyUsers";

    // 表达式
    public final static String EL_EXPRESSION = "${%s}";
    // 驳回为1
    public final static String FLOW_BACK = "1";
    // 流程驳回
    public final static String MOBAI_FLOW_BACK = "${mobai_flow_status == '" + FLOW_BACK + "'}";


}
